package com.ssmintegration.service.impl;

import com.ssmintegration.dao.OneToOneDao;
import com.ssmintegration.entity.OneToOne;
import com.ssmintegration.service.OneToOneService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OneToOneServiceImpl implements OneToOneService {

    @Autowired
    private OneToOneDao oneToOneDao;

    @Override
    public List<OneToOne> selectAll() {
        return oneToOneDao.selectAll();
    }
}
